<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/css/H-ui.admin.css">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/style.css">
    <script type="text/javascript"
            src="${ctx}/appjs/enterprise/enterpriseMemberApply/enterpriseMemberApply.js"></script>
    <style>
        .form-group img {
            cursor: pointer
        }
    </style>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>客户管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>企业申请</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });

</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <div class="columns pull-left">
                        <h5 class="font-bold">企业申请详情</h5>
                    </div>
                    <div class="ibox-tools">
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>

                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="frmEnterpriseApply">
                        <input id="enterpriseApplyId" name="enterpriseApplyId" type="hidden"
                               value="${enterpriseMemberApply.enterpriseApplyId}">
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">企业名称：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${enterpriseMemberApply.enterpriseName}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">统一社会信用代码：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control"
                                       value="${enterpriseMemberApply.enterpriseCredit}" name="enterpriseCredit" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">纳税人识别号：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control"
                                       value="${enterpriseMemberApply.enterpriseCredit}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">营业执照：</label>
                            <div class="col-sm-8">
                                <div >
                                    <c:choose>
                                        <c:when test="${enterpriseMemberApply.companyImg1 !=null && enterpriseMemberApply.companyImg1 != ''}">
                                            <div>
                                                <img id="companyImg1" src="${enterpriseMemberApply.companyImg1}"
                                                     width="155px" height="120px">
                                            </div>
                                        </c:when>
                                        <c:otherwise>
                                            <div>
                                                <img id="companyImg1" src="${ctx}/statics/img/upload-img.png"
                                                     style="position: relative" width="155px" height="120px">
                                            </div>
                                        </c:otherwise>
                                    </c:choose>
                                    <input type="file" id="file1" name="file1"/>
                                </div>
                                <span>图片尺寸建议为：<span class="text-danger">98px*75px</span></span>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">开户行：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${enterpriseMemberApply.enterpriseBank}" readonly>
                            </div>
                        </div>

                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">银行账户：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control"
                                       value="${enterpriseMemberApply.enterpriseBankAccount}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">法人姓名：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control"
                                       value="${enterpriseMemberApply.enterpriseOwner}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">法人电话：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${enterpriseMemberApply.ownerMobile}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">负责人姓名：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${enterpriseMemberApply.contactName}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">负责人姓名：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${enterpriseMemberApply.phone}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">地址：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${enterpriseMemberApply.address}" readonly>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
